package com.noble.meether.chat.ui.system.bean;

import com.noble.library.base.bean.BaseData;

import org.json.JSONArray;

import java.util.ArrayList;

/**
 * Created by Su on 2018/7/5.
 */
public class SysNoticeList extends BaseData{
    private ArrayList<SysNotice> sysNoticeList = new ArrayList<>();

    @Override
    public void parseJson(String jsonStr) {
        JSONArray jsonArray = getJsonArray(jsonStr);
        this.sysNoticeList = (ArrayList<SysNotice>) getBaseDataList(jsonArray, SysNotice.class);
    }

    public ArrayList<SysNotice> getSysNoticeList() {
        return sysNoticeList;
    }
}
